#ifndef __GAME_DATA_H__
#define __GAME_DATA_H__
#include "cocos2d.h"
#include "ThemeItem.h"
USING_NS_CC;
class GameData{
public:

	GameData();
	~GameData();

	int getSceneIdByName(const char *,const char *);
	void initData();
	void initThemeItem(CCDictionary * ,ThemeItem *);
	static GameData * getInstance();

	int getThemeItemCount();
	ThemeItem * getThemeItem(int );
	void release();
	CCArray * getAllImages();
	const char * getNextThemeItem();
	void setCurrentThemeId(int id);
	void setCurrentThemeItemId(int id);
	const char * getMusicPath();
	const char * getEffectPath();


private:

	CCDictionary * m_pDataDictionary;
	CCString **m_pThemeName;
	CCString * m_musicPath;
	CCString * m_effectPath;
	ThemeItem ** m_pThemes;
	int m_themeCount;
	CCArray * m_allImages;
	int m_currentThemeId;
	int m_currentThemeItemId;
};

#endif
